package com.codi.bus.core.fund.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 亲，写个类注释呗
 *
 * @author spy
 * @date 2018-01-29 11:58
 */
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class FundDividendChange extends BaseDomain {
    private Long id;

    private Long userId;

    private String tradeAcco;

    private String taAcco;

    private String portfolioCode;

    private String innerPortfolioCode;

    private String fundCode;

    private String shareType;

    private String autoBuy;

    private String bizType;

    private String tradeAllotNo;

    private Long orderId;

    private String status;

    private String allotNo;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date applyDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date confirmDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdateDate;

    private static final long serialVersionUID = 1L;
}
